package com.ly;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
// 引导类，springboot项目入口
@MapperScan("com.ly.mapper")
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)  // 暴露代理对象（能拿到代理对象）
public class LeYouApplication {

    public static void main(String[] args) {
        SpringApplication.run(LeYouApplication.class, args);
    }

}
